package com.mrd.gtimp.business.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 * Created by luob on 2016/9/28.
 */
@Entity(name = "T_BIZ_DECLARATION_ATTACHMENT")
public class DeclarationAttachment extends BaseAttachment implements Serializable {
  @ManyToOne
  @JoinColumn(name = "declaration_id_")
  private Declaration declaration;

  public Declaration getDeclaration() {
    return declaration;
  }

  public void setDeclaration(Declaration declaration) {
    this.declaration = declaration;
  }

}
